<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>多抓鱼</title>
    <link rel="stylesheet" href="./css/base_book.css">
    <link rel="stylesheet" href="./css/book.css">
</head>
<body>
    <div id="header">
        <div class="books"><a href="" class="on">图书</a></div>
        <div class="fs"><a href="./cothes.html">服饰</a></div>
        <div class="dz"><a href="./dianzi.html">电子</a></div>
    </div>
    <div id="search">
        <div class="se"><input type="text" placeholder="搜索书名、作者、分类、ISBN"></div>
        <div class="fl"><img src="./images/分类.png" ><a href=""><span>分类</span></a></div>
    </div>
    <div id="main">
        <div class="book1">
            <img src="./images/鸟.png" alt="">
            <h2>别人的鱼</h2>
            <span id="book1_2">+172</span>
        </div>
        <div class="book2">
            <img src="./images/鱼箱.PNG" alt="">
            <h2>新鲜出版</h2>
            <span id="book1_2">阅读，是想象和做梦的方式</span>
        </div>
        <div class="book">
            <img src="./images/lizhi.webp" alt="">
            <span class="book_ti">长安的荔枝</span>
            <span class="book_ti2">#2022 鲜鱼榜</span>
        </div>
        <div class="book">
            <img src="./images/hm.webp" alt="">
            <span class="book_ti">蛤蟆先生去看心理医生</span>
            <span class="book_ti2">#通宵读完的一本书</span>
        </div>
        <div class="book">
            <img src="./images/spring.webp" alt="">
            <span class="book_ti">春日序曲</span>
            <span class="book_ti2">#这本书我读了又读</span>
        </div>
        <div class="book">
            <img src="./images/cl.webp" alt="">
            <span class="book_ti">房思琪的初恋乐园</span>
            <span class="book_ti2">#通宵读完的一本书</span>
        </div>
    </div>
    <div id="footer">
        <div class="sy1"><img src="./images/首页 (1).png" ><a href="" class="on"><span>首页</span></a></div>
        <div class="buy1" onclick="toBuy()"><img src="./images/在售产品查询.png" ><a href="./sell_things.html"><span>卖东西</span></a></div>
        <div class="gu1"><img src="./images/cart.png" ><a href=""><span>购物车</span></a></div>
        <div class="wo1" onclick="toMine()"><img src="./images/我的.png" ><a href="./personal.html"><span>我的</span></a></div>
    </div>
    <script>
        function toBuy(){
            localStorage.backhtml = './book.html'
            location.href = './sell_things.html'
        }
        function toMine(){
            localStorage.backhtml = './book.html'
            location.href = './personal.html'
        }
    </script>
</body>
</html>